.PHONY:all
all: servercal clientcal

Flag=#-DMyself=1
Lib:-ljsoncpp

clientcal:ClientCal.cc
	g++ -o $@ $^ -std=c++11 -g $(Lib) $(Flag)
servercal:ServerCal.cc
	g++ -o $@ $^ -std=c++11 $(Lib) $(Flag)
.PHONY:clean
clean:
	rm -f clientcal servercal